package net.mingsoft.basic.util;

import org.apache.commons.lang3.StringUtils;

/**
 * @author gengfa
 */
public class SqlUtil {

    private static final String S_PER = "%";

    private SqlUtil() {}

    public static String likeStr(String str) {
        if (StringUtils.isNotBlank(str)) {
            return S_PER + str + S_PER;
        }
        return str;
    }
}
